<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/8/23
 * Time: 14:30
 * name:删除课程分类
 * url:/erpCourse/delete_course_category
 */

//获取参数
$occ_id = $route->bodyParams["occ_id"];//主键ID

$whereArr = [
    "occ_id" => $occ_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_course_category",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );